namespace OutpatientApi.DTO
{
    /// <summary>
    /// 用户登录结果DTO
    /// </summary>
    public class UserLoginResultDto
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string Username { get; set; } = string.Empty;

        /// <summary>
        /// 手机号
        /// </summary>
        public string? Phone { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string? Email { get; set; }

        /// <summary>
        /// 头像URL
        /// </summary>
        public string? Avatar { get; set; }

        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime CreatedAt { get; set; }


        /// <summary>
        /// 登录令牌
        /// </summary>
        public string Token { get; set; } = string.Empty;

        /// <summary>
        /// 令牌过期时间
        /// </summary>
        public DateTime TokenExpireTime { get; set; }
    }
} 